<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../jquery-3.2.1.min.js"></script>
    <script src="../jquery.query.js"></script>

    <script>
        var id = $.query.get("id");
        alert(id);
    </script>
</head>
<body>
    <h1>two.html</h1>
</body>
</html>